/*
 * Ex1.h
 *
 *  Created on: Oct 10, 2013
 *      Author: Administrator
 */

#ifndef EX1_H_
#define EX1_H_

class Ex1 {
	long a;

	friend Ex1 operator ++(Ex1& e, int);
	friend Ex1& operator ++(Ex1& e);
public:
	Ex1();
	Ex1(long a):a(a){}
	virtual ~Ex1();
	long getA(){return a;}

};

Ex1 operator ++(Ex1& e, int);
Ex1& operator ++(Ex1& e);
#endif /* EX1_H_ */
